<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{width: 600px;
            height: 600px;
            background-color: aqua;
            background-image: url(./cat.gif);
        background-repeat: no-repeat;
        /* 背景位置 */
        /* 沿水平方向平铺 */
        /* background-repeat: repeat-x; */
            /* 沿水平方向垂直 */
            /* background-repeat: repeat-y; */
            background-position: 100px 100px;
            /* 注意这里两个值的用空格隔开  */
    }
            </style>
</head>
<body><div></div>
    
</body>
</html>